/*
*全局登录
*/

//登录方法
import Base from '/common/base.js';
export default {
	data() {
		return {
		}
	},
	onLoad() {
		var that = this
		this.iflogin();//调用登录
	},
	methods: {
		async iflogin() {
			var url=Base.getUrl();
			var arr=url.split('/');
			if(arr[1]=='hitgame'){ //打榜赛
			//登录
			await Base.hitglobalauthorization();
			}
		}
	},

}